package core.vols;

import java.util.Hashtable;

import core.voyageur.Client;

public class VolCommercial {
        
        private Hashtable<String, Client> passagersInscrits;

        public VolCommercial() {
                super();
                passagersInscrits = new Hashtable<String, Client>();
        }
        
        public void addPassager(Client c) {
                passagersInscrits.put(c.getNom(), c);
        }
        
        public void removePassager(Client c) {
                passagersInscrits.remove(c);
        }

		/**
		 * @return the passagersInscrits
		 */
		public Hashtable<String, Client> getPassagersInscrits() {
			return passagersInscrits;
		}
        
        

}
